/**
 * 零基础学C语言
 * 
 * @version 1st
 * @author 明日科技
 * @see http://www.mingrisoft.com
 */

#include <stdio.h>

int main() {
    int x, y;
    int temp;

    printf("please enter two numbers:\n");
    scanf("x = %d, y = %d", &x, &y);

    temp = x;
    x = y;
    y = temp;

    printf("x = %d, y = %d\n", x, y);

    return 0;
}

/*
output:

*/